package org.example.service;

import org.example.pojo.User;

public interface UserService {

    //用户查询
    User findByUsername(String username);

    //创建新用户
    void SignIn(String username, String password, String email, String nickname);

    void addCoupleName(String objectName);

    void upload(String url);

    //查询用户详情
    User findByNickname(String nickname);

    User findByUser(Integer id);

    //修改密码
    void updatePwd(String newPwd);

    //通用email查询用户
    String findByEamil(String email);

    //通过email修改密码
    void updatePwdEmail(String email, String password);

}
